
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <title>计算器</title>
</head>
<body>
<form action="jieguo.jsp" method="post">
<table style="margin: 0 auto;text-align: center">
  <tr>
    <td colspan="4"><h2>计算</h2></td>
  </tr>
  <tr>
    <td>请输入x：</td>
    <td colspan="3"><input type="text" name="x" id="x"></td>
  </tr>
    <tr>
        <td>请输入运算符：</td>
        <td colspan="3"><input type="text" name="zifu" id="zifu"></td>
    </tr>
  <tr>
    <td>请输入y：</td>
    <td colspan="3"><input type="text" name="y" id="y"></td>
  </tr>

    <tr>
        <td><input type="submit" value="计算"></td>
        <td><input type="reset" value="重置" ></td>
    </tr>
</table>
</form>
</body>
</html>
